package com.sgcc.pda.lib_tools_database.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Transient;
import org.greenrobot.greendao.annotation.Unique;

import java.util.List;

import org.greenrobot.greendao.annotation.Generated;

/**
 * 描 述：安全管控业务过程定义
 * 作 者：小卷毛  2020-09-12 15:58
 * 修改描述：KN_SEC_CTL_PROC
 * 修 改 人：
 * 修改版本：v1.2
 */
@Entity
public class ControlProcess {

    @Id
    @Unique
    private String recordId; //唯一标识号
    private String workNo; //业务项完整编号
    private String name; //名称
    private String value; //值
    @Property(nameInDb = "pId")
    private String pNo = ""; //父级编号
    private String pName = ""; //父级名称
    private String orderNum = ""; //排序号
    private String createDate; //创建时间
    private String comments; //说明
    private String codeType; //码值类型
    private String updateUserId; //最近一次修改人ID
    private String updateTime; //最近一次修改时间
    private String remark; //备注

    @Transient
    private List<ControlProcess> works;

    @Transient
    private int stanVideoCount;

    @Transient
    private int typicalExpCount;

    @Generated(hash = 1251835654)
    public ControlProcess(String recordId, String workNo, String name, String value,
            String pNo, String pName, String orderNum, String createDate,
            String comments, String codeType, String updateUserId,
            String updateTime, String remark) {
        this.recordId = recordId;
        this.workNo = workNo;
        this.name = name;
        this.value = value;
        this.pNo = pNo;
        this.pName = pName;
        this.orderNum = orderNum;
        this.createDate = createDate;
        this.comments = comments;
        this.codeType = codeType;
        this.updateUserId = updateUserId;
        this.updateTime = updateTime;
        this.remark = remark;
    }

    @Generated(hash = 1919234345)
    public ControlProcess() {
    }

    public String getRecordId() {
        return this.recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public String getWorkNo() {
        return this.workNo;
    }

    public void setWorkNo(String workNo) {
        this.workNo = workNo;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return this.value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getPNo() {
        return this.pNo;
    }

    public void setPNo(String pNo) {
        this.pNo = pNo;
    }

    public String getPName() {
        return this.pName;
    }

    public void setPName(String pName) {
        this.pName = pName;
    }

    public String getOrderNum() {
        return this.orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public String getCreateDate() {
        return this.createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getComments() {
        return this.comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public String getCodeType() {
        return this.codeType;
    }

    public void setCodeType(String codeType) {
        this.codeType = codeType;
    }

    public String getUpdateUserId() {
        return this.updateUserId;
    }

    public void setUpdateUserId(String updateUserId) {
        this.updateUserId = updateUserId;
    }

    public String getUpdateTime() {
        return this.updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<ControlProcess> getWorks() {
        return works;
    }

    public void setWorks(List<ControlProcess> works) {
        this.works = works;
    }

    public int getStanVideoCount() {
        return stanVideoCount;
    }

    public void setStanVideoCount(int stanVideoCount) {
        this.stanVideoCount = stanVideoCount;
    }

    public int getTypicalExpCount() {
        return typicalExpCount;
    }

    public void setTypicalExpCount(int typicalExpCount) {
        this.typicalExpCount = typicalExpCount;
    }

}
